﻿using Newtonsoft.Json;
using System;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 退货退款查询
	/// </summary>
	[JsonObject(MemberSerialization.OptOut)]
	public class RefundQuery : PageQuery {
		public RefundQuery() { }
		/// <summary>
		/// 商户id
		/// </summary>
		[JsonIgnore]
		public long user_id { get; set; }
		/// <summary>
		/// 单号:原订单/退款单号/退款第三方单号
		/// </summary>
		public string order_no { get; set; }
		/// <summary>
		/// 付款类型使用 插件名称
		/// </summary>
		public string payment_type { get; set; }
		/// <summary>
		/// 状态
		/// </summary>
		public RefundStatus status { get; set; }
		/// <summary>
		/// 下单时间-开始
		/// </summary>
		public DateTime? start_time { get; set; }
		/// <summary>
		/// 下单时间-结束
		/// </summary>
		public DateTime? end_time { get; set; }
		/// <summary>
		/// 姓名/昵称/手机号
		/// </summary>
		public string q { get; set; }
	}
}
